package sanshui.system.trade.db.entity;

import java.io.Serializable;

public class TradeWorker implements Serializable {
    private Long workerId;

    private String tradeFrequent;

    private String tradeMarketKey;

    private String tradeSystemType;

    private String dataMarketType;

    private String filterRule;

    private String workerDesc;

    private String indicatorCodes;

    private String targetCodes;

    private String targetIndex;

    private String strategyCode;

    private Long userId;

    private Long accId;

    private String filterModel;

    private String updateTime;

    private String workerStatus;

    private String delFlg;

    private String startTime;

    private String endTime;

    private String riskCtr;

    private Long reportId;

    private String createTime;

    private String lastStartUpTime;

    private String strategyParam;

    private static final long serialVersionUID = 1L;

    public Long getWorkerId() {
        return workerId;
    }

    public void setWorkerId(Long workerId) {
        this.workerId = workerId;
    }

    public String getTradeFrequent() {
        return tradeFrequent;
    }

    public void setTradeFrequent(String tradeFrequent) {
        this.tradeFrequent = tradeFrequent == null ? null : tradeFrequent.trim();
    }

    public String getTradeMarketKey() {
        return tradeMarketKey;
    }

    public void setTradeMarketKey(String tradeMarketKey) {
        this.tradeMarketKey = tradeMarketKey == null ? null : tradeMarketKey.trim();
    }

    public String getTradeSystemType() {
        return tradeSystemType;
    }

    public void setTradeSystemType(String tradeSystemType) {
        this.tradeSystemType = tradeSystemType == null ? null : tradeSystemType.trim();
    }

    public String getDataMarketType() {
        return dataMarketType;
    }

    public void setDataMarketType(String dataMarketType) {
        this.dataMarketType = dataMarketType == null ? null : dataMarketType.trim();
    }

    public String getFilterRule() {
        return filterRule;
    }

    public void setFilterRule(String filterRule) {
        this.filterRule = filterRule == null ? null : filterRule.trim();
    }

    public String getWorkerDesc() {
        return workerDesc;
    }

    public void setWorkerDesc(String workerDesc) {
        this.workerDesc = workerDesc == null ? null : workerDesc.trim();
    }

    public String getIndicatorCodes() {
        return indicatorCodes;
    }

    public void setIndicatorCodes(String indicatorCodes) {
        this.indicatorCodes = indicatorCodes == null ? null : indicatorCodes.trim();
    }

    public String getTargetCodes() {
        return targetCodes;
    }

    public void setTargetCodes(String targetCodes) {
        this.targetCodes = targetCodes == null ? null : targetCodes.trim();
    }

    public String getTargetIndex() {
        return targetIndex;
    }

    public void setTargetIndex(String targetIndex) {
        this.targetIndex = targetIndex == null ? null : targetIndex.trim();
    }

    public String getStrategyCode() {
        return strategyCode;
    }

    public void setStrategyCode(String strategyCode) {
        this.strategyCode = strategyCode == null ? null : strategyCode.trim();
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getAccId() {
        return accId;
    }

    public void setAccId(Long accId) {
        this.accId = accId;
    }

    public String getFilterModel() {
        return filterModel;
    }

    public void setFilterModel(String filterModel) {
        this.filterModel = filterModel == null ? null : filterModel.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

    public String getWorkerStatus() {
        return workerStatus;
    }

    public void setWorkerStatus(String workerStatus) {
        this.workerStatus = workerStatus == null ? null : workerStatus.trim();
    }

    public String getDelFlg() {
        return delFlg;
    }

    public void setDelFlg(String delFlg) {
        this.delFlg = delFlg == null ? null : delFlg.trim();
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime == null ? null : startTime.trim();
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime == null ? null : endTime.trim();
    }

    public String getRiskCtr() {
        return riskCtr;
    }

    public void setRiskCtr(String riskCtr) {
        this.riskCtr = riskCtr == null ? null : riskCtr.trim();
    }

    public Long getReportId() {
        return reportId;
    }

    public void setReportId(Long reportId) {
        this.reportId = reportId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getLastStartUpTime() {
        return lastStartUpTime;
    }

    public void setLastStartUpTime(String lastStartUpTime) {
        this.lastStartUpTime = lastStartUpTime == null ? null : lastStartUpTime.trim();
    }

    public String getStrategyParam() {
        return strategyParam;
    }

    public void setStrategyParam(String strategyParam) {
        this.strategyParam = strategyParam == null ? null : strategyParam.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", workerId=").append(workerId);
        sb.append(", tradeFrequent=").append(tradeFrequent);
        sb.append(", tradeMarketKey=").append(tradeMarketKey);
        sb.append(", tradeSystemType=").append(tradeSystemType);
        sb.append(", dataMarketType=").append(dataMarketType);
        sb.append(", filterRule=").append(filterRule);
        sb.append(", workerDesc=").append(workerDesc);
        sb.append(", indicatorCodes=").append(indicatorCodes);
        sb.append(", targetCodes=").append(targetCodes);
        sb.append(", targetIndex=").append(targetIndex);
        sb.append(", strategyCode=").append(strategyCode);
        sb.append(", userId=").append(userId);
        sb.append(", accId=").append(accId);
        sb.append(", filterModel=").append(filterModel);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", workerStatus=").append(workerStatus);
        sb.append(", delFlg=").append(delFlg);
        sb.append(", startTime=").append(startTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", riskCtr=").append(riskCtr);
        sb.append(", reportId=").append(reportId);
        sb.append(", createTime=").append(createTime);
        sb.append(", lastStartUpTime=").append(lastStartUpTime);
        sb.append(", strategyParam=").append(strategyParam);
        sb.append("]");
        return sb.toString();
    }
}